import request from '../https/request';
//-------------考试管理--------------
//-----题库管理-------
export const getQuestionK= (data) => {
    console.log(data)
    return request({
        url: '../json/exam/titleList.json',
        method: 'get',
    });
};
//-----试题管理-------
export const getTestQuestions= (data) => {
    console.log(data)
    return request({
        url: '../json/exam/test_question_management.json',
        method: 'get',
    });
};
/*-----试卷管理管理-------*/
export const getPaperK= (data) => {
    console.log(data)
    return request({
        url: '../json/exam/testQuestionsListTest.json',
        method: 'get',
    });
};
export const getTestK= (data) => {
    console.log(data)
    return request({
        url: '../json/exam/test_question_management.json',
        method: 'get'
    });
};
//获取试卷某个试卷题目信息
export const getMPaperTests= (data) => {
    console.log(data)
    return request({
        url: '../json/exam/markExamPapersIFrame.json',
        //public\json\exam\examManagementList.json
        method: 'get'
    });
};




/**-------考试汇总------------------*/
///testQuestionsListTest.json

//关联--选择班级
export const getClazzes= (data) => {
    console.log(data)
    return request({
        url: '../json/exam/testClassGroupData.json',
        method: 'get'
    });
};

//关联-选择学生
export const getStus= (data) => {
    console.log(data)
    return request({
        url: '../json/exam/testStudentGroupData.json',
        method: 'get'
    });
};
//关联-试卷信息
export const getPaperInfo= (data) => {
    console.log(data)
    return request({
        url: '../json/exam/examManagementList.json',
        //public\json\exam\examManagementList.json
        method: 'get'
    });
};
//获取学员试卷的信息
export const getStuPaperTests= (data) => {
    console.log(data)
    return request({
        url: '../json/exam/markExamPapersIFrame.json',
        //public\json\exam\examManagementList.json
        method: 'get'
    });
};
//获取所有待批阅的主观题目
export const getStuPaperTests2= (data) => {
    console.log(data,"<<<<<pageIfo")
    return request({
        url: '../json/exam/markExamPapersIFrame2.json',
        method: 'get'
    });
};